Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to reject the event #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

to reject the event #83

wants to merge 1 commit into from

Conversation

ahurt2000
Copy link

The issue 77 explain the problem. I suggest this change to resolve it.

The  [issue 77] (yohang#77) explain the problem. I suggest this change to resolve it.
@hacfi
Copy link

hacfi commented Feb 24, 2015

@ahurt2000 Do we really want a StateException if an event rejects the transition?

@ahurt2000
Copy link
Author

hum good question! may is better a TransitionException

@ahurt2000
Copy link
Author

Well, there's another way to approach it ignoring the event status as before. But then it makes sense that the event is rejected?

@hacfi
Copy link

hacfi commented Feb 24, 2015

I’m 👍 for this PR..just not sure whether to throw an Exception or fail silently (return;)

@hacfi
Copy link

hacfi commented Feb 24, 2015

Well..failing silently is not a good idea - nevermind.

@yohang
Copy link
Owner

yohang commented Nov 30, 2015

Hum, sorry for taking this so late, but does it makes sense to reject a pre transition event ?

I think the real problem comes from the current implementation, that allow that. In fact, we can reject a post transition event…

2.0 version will probably split TestTransition and ApplyTransition events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants